package com.jade.framework.web.service;

import com.jade.system.domain.SysUser;
import com.jade.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * jade首创 html调用 thymeleaf 实现字典读取
 * 
 * @author jade
 */
@Service("user")
public class UserService
{
    @Autowired
    private ISysUserService sysUserService;

    /**
     * 获取所有用户
     * @param dictType
     * @return
     */
    public List<SysUser> getUser()
    {
        return sysUserService.selectUserList(new SysUser());
    }
}
